<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>动态|兴旺化验室</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="<?php echo '__TPL__/public/css/blog.css';?>" rel="stylesheet" type="text/css" />
<jquery />
<script type="text/javascript" src="<?php echo '__TPL__/public/js/cufon-yui.js';?>"></script>
<script type="text/javascript" src="<?php echo '__TPL__/public/js/arial.js';?>"></script>
<script type="text/javascript" src="<?php echo '__TPL__/public/js/cuf_run.js';?>"></script>
<jsconst/>

</head>
<body>
<div class="main">
      <div class="header">
  		  	<?php include  PATH_TPL.'/public/header.html';?>
  		</div>
		<div id="login"><?php include  PATH_TPL.'/public/head.html';?></div>
	<div id="login"><?php include  PATH_TPL.'/public/head.html';?></div>
      <div class="clr"></div>
      <div class="menu_nav">
          <ul>
              <li><a href="__APP__/index/index">首页</a></li>
              <li  class="active"><a href="__APP__/index/blog">动态</a></li>
              <li><a href="__APP__/index/support">支持</a></li>
  		      <li><a href="__APP__/index/contact">联系我们</a></li>
  		      <li><a href="__APP__/index/about">关于</a></li>
          </ul>
      </div>
      <div class="clr"></div>
 

    <div class="content" style="height:auto;overflow:hidden;">
       <div class="content_resize">
           <img src="<?php echo '__TPL__/public/images/blogbg.jpg';?>" width="948" height="295" alt="image" class="hbg_img" />
        </div>
    </div>

      <div id="sidemap">
          您现在的位置：<a href="#">首页</a> > <a href="#">文章</a>
      </div>

    <div id="article">
	<list from="$row" name="$v">
		<style>
		#article img{width:200px;}
		</style>
        <div style="font-size:16px;font-weight:bold;">{$v.title}</div>
			<li>作者：{$v.username}发布时间：{$v.addtime}点击量：{$v.click}</li>
			{$v.body}{$v.thumburl}
			<li>{$v.keywords}</li>
	</list>
   

		<style>
		#reply p{
			font-weight:normal;border-bottom:1px dotted;
		}
		</style>
<div id="reply" style="width:300px;height:auto;overflow:hidden;">

    <?php $a=1; ?>
		<script>
			$(function(){
				
				$(".rrrrr").click(function(){
					$(this).next("form").toggle();
				
				
				
				})
		
			})
		
		
		</script>
		
    <list from="$comment" name="$v">
		
        <if value="$v.level gt 1"> 
            &nbsp;&nbsp;<!-- <a href="__APP__/news/index/catid/{$v.catid}"> --><span style="color:black;">{$v.username}</span>:{$v.rebody}<!-- </a> -->
            <else><!-- <a href="__APP__/news/index/catid/{$v.catid}"> --><?php echo $a++;?>楼 | 回帖者：<span style="color:red;">{$v.username}</span> | 时间：{$v.retime|date:"Y-m-d",@@}{$v.rebody}<!-- </a> -->
        </if>
		
		
		
			<a href="__APP__/news/good/cid/{$v.cid}">《顶》{$v.good}</a>
				<a href="__APP__/news/bad/cid/{$v.cid}">《踩》{$v.bad}</a>
				<span class="rrrrr" style="float:right;">《回复》</span>
			    <form  action="__APP__/news/add" method="post">
					<input type="hidden" name="pid" value="{$v.cid}"/>
					<input type="hidden" name="nid" value="{$v.nid}"/> 
					<input type="text" name="rebody"/>
					<input type="submit" value='子回复'/>
				</form>
    </list>	
	</div>	
		<empty value="$hd.session.uid">
			<div>请<a href="__WEB__?c=user&m=login_show">登录</a>后回复</div>
		<noempty/>
			
			 <a href="__CONTROL__/add_replay_show/id/{$hd.get.id}">添加评论</a>
		</empty>	
	</div>  
</div>
<!-- 
      <div class="footer">
          <div class="footer_resize">
            <p class="lf">2006-2012&nbsp;&nbsp;&copy; Copyright<span>江苏兴化戴南兴旺化验室</span></p>
          <div class="clr"></div>
         </div>
      </div>
 -->
</body>
</html>